<!doctype html>
<html lang="en">
<head>
		<meta charset="UTF-8" />
		<title>全部消费</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
	</head>
	<style>
		* {
			list-style: none;
		}
		
		a {
			color: #000;
		}
		
		p {
			color: #484848;
		}
		
		.gou,
		.gou-1 {
			background: white;
		}
		
		.gou {
			text-align: center;
			padding: 30px 0;
			border-bottom: 1px solid #CCCCCC;
		}
		
		.gou p,
		.gou p span {
			font-weight: bold;
		}
		
		.gou span {
			color: #F0AD4E;
			font-weight: bold;
			font-size: 17px;
			display: block;
		}
		
		.gou-1 #qie {
			margin: 0;
			display: flex;
			line-height: 50px;
			padding: 0;
		}
		
		.gou-1 #qie li {
			flex: 1;
			text-align: center;
		}
		
		#div2,
		#div3,
		#div4 {
			display: none;
		}
		
		.qeo {
			display: flex;
			text-align: center;
		}
		
		.qeo-1 {
			flex: 1;
		}
		
		.ac ul {
			padding: 0;
		}
		
		.ac ul li {
			display: flex;
		}
		
		.ac ul li p {
			flex: 1;
			text-align: center;
		}
		
		.ac ul li p span {
			display: block;
		}
		
		.gou ul {
			display: flex;
			padding: 0;
			width: 90%;
			margin: auto;
		}
		
		.gou ul li {
			flex: 1;
		}
	</style>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a href="javascript:history.go(-1)" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">全部消费</h1>
		</header>

		<div class="mui-content ">
			<div class="mui-segmented-control control">
				<a class="mui-control-item mui-active" href="#item1">购物券</a>
				<a class="mui-control-item" href="#item2">钛</a>
				<a class="mui-control-item" href="#item2">消费</a>
			</div>
		</div>

		<div class="mui-slider">
			<div class="mui-slider-group">
				<!--第一个内容区容器-->
				<div class="mui-slider-item">
					<!--购物券-->
					<div class="commit gou">
						<p>购物券账号余额</p>
						<span>383.34</span>
					</div>
					<div class="commit gou-1">
						<div class="qie">
							<ul id="qie">
								<li>
									<a href="javascript:void(0)">2019-01</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-12</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-11</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-10</a>
								</li>
							</ul>
						</div>
						<div class="qeo">
							<div class="qeo-1">流水号</div>
							<div class="qeo-1">收支</div>
							<div class="qeo-1">余额</div>
							<div class="qeo-1">时间</div>
						</div>
						<div class="thi">
							<div class="ac">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
								</ul>
							</div>
							<div class="ac" id="div2">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
							<div class="ac" id="div3">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
							<div class="ac" id="div4">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
						</div>
					</div>
				</div>
				<!--第二个内容区-->
				<div class="mui-slider-item">
					<!-- 钛 -->
					<div class="commit gou">
						<p>钛账号余额</p>
						<span>75.47</span>
						<ul>
							<li><a href="repeat.html"><button type="button" class="mui-btn mui-btn-warning mui-btn-outlined">复投</button></a></li>
							<li><a href="exchange_consumption.html"><button type="button" class="mui-btn mui-btn-warning mui-btn-outlined">兑换消费</button></a></li>
						</ul>
					</div>
					<div class="commit gou-1">
						<div class="qie">
							<ul id="qie">
								<li>
									<a href="javascript:void(0)">2019-01</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-12</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-11</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-10</a>
								</li>
							</ul>
						</div>
						<div class="qeo">
							<div class="qeo-1">流水号</div>
							<div class="qeo-1">收支</div>
							<div class="qeo-1">余额</div>
							<div class="qeo-1">时间</div>
						</div>
						<div class="thi">
							<div class="ac">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
								</ul>
							</div>
							<div class="ac" id="div2">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
							<div class="ac" id="div3">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
							<div class="ac" id="div4">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="mui-slider-item">
					<!-- 消费 -->
					<div class="commit gou">
						<p>消费账号余额</p>
						<span>383.34</span>
					</div>
					<div class="commit gou-1">
						<div class="qie">
							<ul id="qie">
								<li>
									<a href="javascript:void(0)">2019-01</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-12</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-11</a>
								</li>
								<li>
									<a href="javascript:void(0)">2018-10</a>
								</li>
							</ul>
						</div>
						<div class="qeo">
							<div class="qeo-1">流水号</div>
							<div class="qeo-1">收支</div>
							<div class="qeo-1">余额</div>
							<div class="qeo-1">时间</div>
						</div>
						<div class="thi">
							<div class="ac">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
								</ul>
							</div>
							<div class="ac" id="div2">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
							<div class="ac" id="div3">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
							<div class="ac" id="div4">
								<ul>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>
									<li>
										<p>1548338694<span>(分润)</span></p>
										<p>-0.38</p>
										<p>383</p>
										<p>2019-01-24 14:04:54</p>
									</li>

								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<script src="js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init()
			/*****	 点击切换页面	******/
			mui('.mui-segmented-control').on('tap', '.mui-control-item', e => {
				mui('.mui-slider').slider().gotoItem($(e.target).index())
			})
			/******	   监听slider	********/
			$('.mui-slider').on('slide', e => {
				$('.mui-segmented-control .mui-control-item').removeClass('mui-active')
				$('.mui-segmented-control .mui-control-item').eq(e.detail.slideNumber).addClass('mui-active')
			})
			/*点击切换*/
			var qie = document.getElementById('qie').getElementsByTagName('li');
			var ac = document.getElementsByClassName('ac');
			for(var i = 0, val = qie.length; i < val; i++) {
				qie[i].index = i;
				qie[i].onclick = function() {
					for(var j = 0; j < qie.length; j++) {
						ac[j].style.display = 'none';
					}
					ac[this.index].style.display = 'block';
				}
			}
		</script>
	</body>

</html>


